package com.netty.tcp.ew.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 阶梯价格对象 base_price_level
 *
 * @author Mr.wu
 * @date 2023-11-15
 */
public class BasePriceLevel
{
    private static final long serialVersionUID = 1L;

    /** 价格明细ID */
    private Integer levelId;

    /** 计价方案ID */

    private Integer levelPriceId;

    /** 价格明细名称 */

    private String levelName;

    /** 起始数量 */

    private Integer levelBeginnum;

    /** 截止数量 */

    private Integer levelEndnum;

    /** 价格 */

    private BigDecimal levelPrice;

    /** 数据归属 */

    private Integer companyId;

    public void setLevelId(Integer levelId)
    {
        this.levelId = levelId;
    }

    public Integer getLevelId()
    {
        return levelId;
    }
    public void setLevelPriceId(Integer levelPriceId)
    {
        this.levelPriceId = levelPriceId;
    }

    public Integer getLevelPriceId()
    {
        return levelPriceId;
    }
    public void setLevelName(String levelName)
    {
        this.levelName = levelName;
    }

    public String getLevelName()
    {
        return levelName;
    }
    public void setLevelBeginnum(Integer levelBeginnum)
    {
        this.levelBeginnum = levelBeginnum;
    }

    public Integer getLevelBeginnum()
    {
        return levelBeginnum;
    }
    public void setLevelEndnum(Integer levelEndnum)
    {
        this.levelEndnum = levelEndnum;
    }

    public Integer getLevelEndnum()
    {
        return levelEndnum;
    }
    public void setLevelPrice(BigDecimal levelPrice)
    {
        this.levelPrice = levelPrice;
    }

    public BigDecimal getLevelPrice()
    {
        return levelPrice;
    }
    public void setCompanyId(Integer companyId)
    {
        this.companyId = companyId;
    }

    public Integer getCompanyId()
    {
        return companyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("levelId", getLevelId())
                .append("levelPriceId", getLevelPriceId())
                .append("levelName", getLevelName())
                .append("levelBeginnum", getLevelBeginnum())
                .append("levelEndnum", getLevelEndnum())
                .append("levelPrice", getLevelPrice())
                .append("companyId", getCompanyId())
                .toString();
    }
}
